﻿using RM.Bussiness.Rooms;
using RM.Model.Rooms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RM.DesktopApp.IModelViews
{
    public class RoomManagementController
    {
        private IRoomManagementView view;
        private IList<Room> rooms;
        // private RoomManagement roomManagement;
        private Room roomSelected;

        public RoomManagementController(IRoomManagementView view) {
            // this.roomManagement = new RoomManagement();
            //this.rooms = roomsMocks(); // RoomManagement.GetAll();
            this.view = view;
            this.view.SetController(this);
        }

        public void LoadView() {
            /*view.ClearList();
            foreach (Room room in rooms) {
                view.AddRoomToList(room);
            }*/
            //view.SetSelectedRoomInList(rooms[0]);
        }


    }
}
